<?php
function get_geshi_content($content, $mime) {
	$geshi = new GeSHi($content, $mime);
	$geshi->set_header_type(GESHI_HEADER_DIV);
	$geshi->enable_line_numbers(GESHI_FANCY_LINE_NUMBERS);

	return  $geshi->parse_code();
}
?>
